﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ver1
{
    class Program
    {
        static void Main(string[] args)
        {

            Console.ForegroundColor = ConsoleColor.Black;
            Console.BackgroundColor = ConsoleColor.Red;
            Console.WriteLine("Hello World !");
            if (Console.ForegroundColor != ConsoleColor.White)
                Console.ForegroundColor = ConsoleColor.White;
            if (Console.BackgroundColor != ConsoleColor.Black)
                Console.BackgroundColor = ConsoleColor.Black;
            Console.WriteLine("Hello World !");

        } 
    }
}
